package com.gzz.demo.pattern.strategy;

public class AdvancedStrategy implements IStrategy {
    @Override
    public double calcPrice(double price) {
        System.out.println("高级会员折扣30% price = " + (price *0.7));
        return price *0.7;
    }
}
